import React from 'react'
import { Tabs } from 'antd';
import OpenInvoice from './componments/openInvoice';
import InvoiceTable from './componments/invoiceTable';
const { TabPane } = Tabs;
const main = (props) => {
    const callback = () =>{
    }

    return (
        <div style={{height:"100vh",backgroundColor:'white',padding:'20px'}}>
            <Tabs defaultActiveKey="1" onChange={callback} type="card">
                <TabPane tab="发票开具" key="1">
                    <OpenInvoice/>
                </TabPane>
                <TabPane tab="发票查询" key="2">
                    <InvoiceTable/>
                </TabPane>
            </Tabs>
        </div>
    )
}
export default main